Circuit and method for detecting a spin-up wedge and a corresponding servo wedge on spin up of a data-storage disk

ABSTRACT

A servo circuit includes a servo channel and a processor. The servo channel recovers servo data from servo wedges that identify respective data sectors on a data-storage disk. On spin up of the disk, the processor detects a spin-up wedge associated with one of the servo wedges and then detects the servo wedge. Once the servo wedge is detected, a head-position circuit can read the location data from the servo wedge to determine an initial position of the read-write head. By detecting a both a spin-up wedge and a servo wedge to determine an initial head position on disk spin up, such a servo circuit often allows one to increase the disk&#39;s storage capacity by reducing the lengths of the spin-up wedges.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is related to commonly owned U.S. patent application Ser. Nos. ______ (Atty. Docket No. 99-S-190 (1678-22-1)) entitled “DATA-STORAGE DISK HAVING FEW OR NO SPIN-UP WEDGES AND METHOD FOR WRITING SERVO WEDGES ONTO THE DISK,” ______ (Atty. Docket No. 01-S-044 (1678-22-2)) entitled “CIRCUIT AND METHOD FOR DETECTING A SERVO WEDGE ON SPIN UP OF A DATA-STORAGE DISK”, ______ (Atty. Docket No. 01-S-023 (1678-39)) entitled “A DATA CODE AND METHOD FOR CODING DATA”, ______ (Atty. Docket No. 01-S-045 (1678-47)) entitled “CIRCUIT AND METHOD FOR DEMODULATING A SERVO POSITION BURST”, ______ (Atty. Docket No. 01-S-046 (1678-48)) entitled “CIRCUIT AND METHOD FOR DETECTING THE PHASE OF A SERVO SIGNAL”, ______ (Atty. Docket No. 01-S-054 (1678-49)) entitled “SERVO CIRCUIT HAVING A SYNCHRONOUS SERVO CHANNEL AND METHOD FOR SYNCHRONOUSLY RECOVERING SERVO DATA”, which were filed on the same day as the present application and which are incorporated by reference.

BACKGROUND OF THE INVENTION Field of the Invention

[0002] The invention is related generally to electronic circuits, and more particularly to a servo circuit and method for detecting a spin-up wedge and a corresponding servo wedge on spin up of a data-storage disk. Such a servo circuit allows a head-position circuit to determine an initial position of a read-write head over a disk having shorter spin-up wedges than prior disks. Using shorter spin-up wedges often allows one to increase the disk area that is available for storing data, and to thus increase the disk's storage capacity.

[0003] As computer-software applications become larger and more data intensive, disk-drive manufacturers are continuing their efforts to develop technologies and techniques for increasing the data-storage capacities of data-storage disks. Although manufacturers have significantly increased the data-storage density (bits/inch) of disks over the years, further increasing the data-storage density is often difficult because of the accompanying increases in noise and intersymbol interference (ISI). In addition, because disks are typically constrained to industry-standard sizes, manufacturers often do not have the option of increasing a disk's storage capacity by increasing its size. Moreover, because most non-application data (e.g., servo wedges, spin-up wedges, file-allocation tables (FAT)) is necessary for proper operation of a disk drive, the manufacturers often cannot remove this data from a disk to make more room for storing application data.

[0004]FIG. 1 is a plan view of a conventional magnetic data-storage disk 10. The disk 10 is partitioned into a number—here eight—of disk sectors 12 a-12 h, and includes a number—typically in the tens or hundreds of thousands—of concentric data tracks 14 a-14 n. Readable-writable application data is stored in respective data sectors (not shown) within each track 14.

[0005] Referring to FIG. 2, data servo wedges 16—only servo wedges 16 a-16 c are shown for clarity—include servo data that allows a head-position circuit (FIG. 20) to accurately position a read-write head (FIGS. 5 and 20) during a data read or write operation. The servo wedges 16 are located within each track 14 at the beginning—the disk 10 spins counterclockwise in this example—of data fields that may contain one or more data sectors 12. Each servo wedge 16 includes respective servo data that indentifies the location (track 14 and sector 12) of the servo wedge. Thus, the head-position circuit uses this servo data to position the head over the track 14 to be read from or written to. The manufacturer of a disk drive (FIG. 20) that incorporates the disk 10 typically writes the servo wedges 16 onto the disk before shipping the disk drive to a customer; neither the disk drive nor the customer alters the servo wedges 16 thereafter. Servo wedges like the servo wedges 16 are further discussed below in conjunction with FIG. 6 and in commonly owned U.S. patent application Ser. No. 09/783,801, filed Feb. 14, 2001, entitled “VITERBI DETECTOR AND METHOD FOR RECOVERING A BINARY SEQUENCE FROM A READ SIGNAL,” which is incorporated by reference.

[0006] Referring to FIG. 3, spin-up servo wedges 18—only spin-up wedges 18 a -18 c are shown for clarity—include spin-up data that allows the head-position circuit (FIG. 20) to accurately determine an initial position of the read-write head (FIGS. 5 and 20) on spin up of the disk 10. Typically, the spin-up wedges 18 are respectively located within each track 14 a known distance from a portion (e.g., beginning, preamble, sector or track identifier) of a servo wedge 16 within the same track. For example, the spin-up wedges 18 may be located at the end of the sector 12 h as illustrated, or may be located within a respective servo wedge 16. While or after the disk 10 spins up to normal speed following a disk-inactive mode such as a power-down or sleep mode, the head-position circuit moves the head from a parked position to an arbritary position over the disk 10. But the head-position circuit does not “know” the position of the head with respect to the tracks 14 and sectors 12. Therefore, a servo circuit (not shown in FIGS. 1-3) attempts to detect one of the spin-up wedges 18. Because the spin-up wedges 18 are each a known distance from a portion of a respective servo wedge 16, the head-position circuit “knows” the relative circumferential position of the head over the disk 10 once the servo circuit detects a spin-up wedge 18. To determine the actual position of the head (i.e., the sector 12 and track 14 that the head is over), the servo circuit can read sector and track identifiers from the respective servo wedge 16. Once the head-position circuit determines the initial position of the head, the spin-up wedges 18 serve no further purpose, and thus are unused, until the next spin up of the disk 10. Additional details of the spin-up wedges 18 are known, and are thus omitted for clarity.

[0007] Furthermore, the spin-up wedges are relatively long to reduce the chance that the servo circuit (not shown in FIGS. 1-3) will mistake a sequence of application data as a spin-up wedge.

[0008] Unfortunately, because the spin-up wedges 18 are relatively long, they occupy a significant area of the disk that could otherwise store application data. But shortening the spin-up wedges 18 may decrease the accuracy with which the servo circuit detects a spin-up wedge 18 on spin up of the disk 10. This decrease in accuracy may delay the head-position circuit's determination of the read-write head's initial position.

SUMMARY OF THE INVENTION

[0009] In accordance with an embodiment of the invention, a servo circuit includes a servo channel and a processor. The servo channel recovers servo data from servo wedges that identify respective data sectors on a data-storage disk. The processor detects a spin-up wedge associated with one of the servo wedges and then detects the servo wedge while the disk is attaining or after the disk attains an operating speed.

[0010] By detecting a both a spin-up wedge and a servo wedge to determine an initial head position on disk spin up, such a servo circuit often allows one to increase the disk's storage capacity by reducing the lengths of the spin-up wedges.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011]FIG. 1 is a plan view of a conventional magnetic data-storage disk having disk sectors and data tracks.

[0012]FIG. 2 is a close-up view of the servo wedges of the FIG. 1 disk.

[0013]FIG. 3 is a close-up view of the servo wedges and the spin-up wedges of the FIG. 1 disk.

[0014]FIG. 4 is a plan view of a magnetic data-storage disk having no spin-up wedges according to an embodiment of the invention.

[0015]FIG. 5 is a block diagram of a servo circuit for detecting a servo wedge, or both a spin-up wedge and a servo wedge, on disk spin up and for recovering servo data from servo wedges according to an embodiment of the invention.

[0016]FIG. 6 is a diagram of a servo wedge of FIG. 4 according to an embodiment of the invention.

[0017]FIG. 7 is a servo signal that the read-write head generates while reading the servo preamble of FIG. 6 on disk spin up according to an embodiment of the invention.

[0018]FIG. 8 is a timing diagram of signals that are relevant to the operation of the servo circuit of FIG. 5 during disk spin up according to an embodiment of the invention where the servo circuit need not detect a spin-up wedge.

[0019]FIG. 9 is a timing diagram of the signals of FIG. 8 after disk spin up according to an embodiment of the invention.

[0020]FIG. 10 is a block diagram of the sample-interpolator loop of FIG. 5 according to an embodiment of the invention.

[0021]FIG. 11 is a phase diagram used to explain how the initial-phase-difference-calculation circuit of FIG. 5 calculates an initial phase angle between the sample clock and the peak of the preamble sinusoid according to an embodiment of the invention.

[0022]FIG. 12 is a phase diagram used to explain how the initial-gain determinator of FIG. 5 calculates an initial amplitude of the preamble sinusoid according to an embodiment of the invention.

[0023]FIG. 13 is a trellis diagram for the Viterbi detector of FIG. 5 according to an embodiment of the invention.

[0024]FIG. 14 is the respective bit patterns of the preamble and servo synchronization mark of FIG. 6 according to an embodiment of the invention.

[0025]FIG. 15 is a plan view of a magnetic data-storage disk having spin-up wedges according to an embodiment of the invention.

[0026]FIG. 16 is a diagram of a servo wedge that includes a spin-up wedge according to an embodiment of the invention.

[0027]FIG. 17 is a servo signal that the read-write head generates while reading the servo wedge and preamble of FIG. 16 on disk spin up according to an embodiment of the invention.

[0028]FIG. 18 is a timing diagram of signals that are relevant to the operation of the servo circuit of FIG. 5 during disk spin up according to an embodiment of the invention where the servo circuit detects a spin-up wedge.

[0029]FIG. 19 is a top-level block diagram of the servo circuit of FIG. 5 according to an embodiment of the invention.

[0030]FIG. 20 is a block diagram of a disk-drive system that incorporates the servo circuit of FIG. 19 according to an embodiment of the invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0031]FIG. 4 is a plan view of a magnetic data-storage disk 20, which has no spin-up wedges and which stores servo data within the servo wedges 22 at a higher density than does the conventional disk 10 (FIG. 1) according to an embodiment of the invention. Omitting the spin-up wedges and increasing the density of the servo data increase the disk area available to store application data, and thus increase the data-storage capacity of the disk 20. Like the disk 10, the disk 20 is partitioned into a number—here eight—of disk sectors 12 a-12 h, and includes a number of concentric data tracks 14 a-14 n. The disk 20 also has servo wedges 22—for clarity, only servo wedges 22 a-22 c are shown—which may be similar to the servo wedges 16 of the disk 10.

[0032]FIG. 5 is a partial block diagram of a servo circuit 30, which can detect a servo wedge 22 (FIG. 4) on spin up of the disk 20 (FIG. 4) without first detecting a spin-up wedge (FIG. 3) according to an embodiment of the invention. Thus, the circuit 30 can be used with a disk, such as the disk 20, that omits spin-up wedges to increase its data-storage capacity. But as discussed below in conjunction with FIGS. 15-18, the circuit 30 can also be used with a disk that includes spin-up wedges.

[0033] Furthermore, the servo circuit 30 is synchronous, and thus can accurately recover high-density servo data such as the servo data stored on the disk 20 (FIG. 4). But the circuit 30 can also recover low-density servo data such as the servo data stored on the conventional disk 10 (FIG. 1).

[0034] Still referring to FIG. 5, the servo circuit 30 includes a read-write head 32 for generating a servo signal that represents a servo wedge 22 (FIG. 4) being read. The circuit 30 also includes a servo channel 34 for processing the servo signal, a circuit 36 for calculating an initial phase difference between servo samples and the servo signal, a circuit 38 for controlling the overall gain of the servo channel 34, and a processor 40 for controlling the servo channel 34, the phase-calculation circuit 36, and the gain-control circuit 38. Alternatively, the processor 40 may be replaced with a state machine or other control circuit (not shown).

[0035] The processor 40 causes the servo channel 34 to detect a servo wedge 22 (FIG. 1) on spin up of the disk 20 (FIG. 4), and to recover servo data from the servo wedge 22 on disk spin up and during a disk read or write operation. The channel 34 may also function as a read channel to recover application data from a disk data sector (not shown) during a disk read operation. Alternatively, a separate read channel (not shown) may recover the application data during a disk read operation.

[0036] The servo channel 34 includes a preamplifier 42, a continous lowpass filter (LPF) 44, a gain circuit 46, an analog filter 48, an analog-to-digital converter (ADC) 50, a finite-impulse-response (FIR) filter 52, a sample-interpolator loop 54, and a Viterbi detector 56. The preamplifier 42 amplifies the servo signal generated by the read-write head 32 as it reads the disk 20 (FIG. 4), and the LPF 44 equalizes the servo signal. The gain circuit 46 amplifies the equalized servo signal so as to set the amplitude of the equalized servo signal to a desired level, and the ADC 50 samples and digitizes the amplified servo signal in response to a sample clock. The FIR filter 52 is used to provide addtitional boost to better equalize consecutive digitized samples—here two consecutive samples at a time—to the target power spectrum of the channel 34. The sample-interpolator loop 54 effectively synchronizes the sample clock to the servo signal by interpolating the values of the FIR samples to the values they would have had if the sample clock were synchronized to the servo signal. The Viterbi detector 56, which is designed for the target polynomial, recovers the servo-data bit sequence from the servo signal by processing the interpolated samples—here two samples at a time. As discussed below in conjunction with FIG. 6, a portion of the recovered bit sequence identifies the track 14 and sector 12 that hold the servo wedge 22 from which the bit sequence is recovered. Therefore, the Viterbi detector provides this portion of the recovered bit sequence to the head-position circuit (FIG. 20). In one embodiment, the FIR filter 52 equalizes the servo-signal samples to a PR4 power spectrum, and the Viterbi detector 56 is constructed according to a PR4 polynomial. The benefits of a servo channel designed for a PR4 polynominal are discussed in commonly owned U.S. patent application Ser. No. 09/783,801, filed Feb. 14, 2001, entitled “VITERBI DETECTOR AND METHOD FOR RECOVERING A BINARY SEQUENCE FROM A READ SIGNAL,” which is heretofore incorporated by reference.

[0037] The phase-calculation circuit 36 determines an initial phase difference between the sample clock and the servo signal. The sample-interpolator loop 54 uses this initial phase difference to capture, i.e., acquire, the phase of the sample clock with respect to the servo signal. Although the loop 54 can acquire the phase of the sample clock without this initial phase difference, it would take a significantly longer time, and thus a significantly longer servo wedge 22, to do so. Therefore, the circuit 36 often allows the disk 20 to have a higher data-storage capacity by allowing the servo wedges 22 to be shorter. The circuit 36 is further discussed in conjunction with FIG. 11 below, in commonly owned U.S. patent application Ser. No. 09/503,453, filed Feb. 14, 2000, entitled “CIRCUIT AND METHOD FOR DETERMINING THE PHASE DIFFERENCE BETWEEN A SAMPLE CLOCK AND A SAMPLED SIGNAL”, and in commonly owned U.S. patent application Ser. No. 09/503,929, filed Feb. 14, 2000, entitled “CIRCUIT AND METHOD FOR DETERMINING THE PHASE DIFFERENCE BETWEEN A SAMPLE CLOCK AND A SAMPLED SIGNAL BY LINEAR APPROXIMATION”, which are incorporated by reference.

[0038] The gain circuit 38 includes an initial-gain determinator 58, a tracking-gain determinator 60, and a digital-to-analog converter (DAC) 62. The initial-gain determinator 58 determines an initial amplitude of the servo signal from the interpolated servo-signal samples. The DAC 62 uses this initial amplitude to generate a gain-control signal that causes the gain circuit 46 to set the overall gain of the servo channel 34 to a desired level. Although the circuits 38 and 46 can set the gain without the benefit of this initial amplitude, it would take a significantly longer time, and thus a significantly longer servo wedge 22, to do so. Therefore, like the phase-calculation circuit 36, the initial-gain determinator 58 often allows the disk 20 to have a higher data-storage capacity by allowing the servo wedges 22 to be shorter. After the circuit 58 determines the initial amplitude, the tracking-gain determinator 60 acquires and locks onto, i.e., tracks, the amplitude of the servo signal for the remainder of the servo wedge 22. As with the circuit 58, the DAC 62 converts the amplitude from the circuit 60 into a gain-control signal for the gain circuit 46. In one embodiment, the DAC 62 generates a logarithmically scaled gain-control signal.

[0039] Still referring to FIG. 5, the initial-gain determinator 58 is further discussed in conjunction with FIG. 12 below and in commonly owned U.S. patent application Ser. Nos. 09/503,949, filed Feb. 14, 2000, entitled “A CIRCUIT AND METHOD FOR CONTROLLING THE GAIN OF AN AMPLIFIER BASED ON THE SUM OF SAMPLES OF THE AMPLIFIED SIGNAL”, and 09/503,399, filed Feb. 14, 2000, entitled “A CIRCUIT AND METHOD FOR CONTROLLING THE GAIN OF AN AMPLIFIER”, which are incorporated by reference.

[0040]FIG. 6 is a diagram of the servo wedge 22 a of FIG. 4, the other servo wedges 22 being similar. Write splices 70 a and 70 b respectively separate the servo wedge 22 a from adjacent data sectors (not shown). A servo address mark (SAM) 72 indicates to the head-position circuit (FIG. 20) that the read-write head 32 (FIG. 5) is at the beginning of the servo wedge 22 a. A servo preamble 74 allows the sample-interpolator loop 54 (FIG. 5) to synchronize the sample clock (FIG. 5), and a servo synchronization mark (SSM) 76 identifies the beginning of a head-location identifier 78. The preamble 74 and SSM 76 are further discussed below in conjunction with FIG. 14. The location identifier 78 allows the head-position circuit to coarsely determine and adjust the position of the head 32 with respect to the surface of the disk 20 (FIG. 4). More specifically, the location identifier 78 includes a sector identifier 80 and a track identifier 82, which respectively identify the disk sector 12 and the data track 14—here the sector 12 a and the track 14 a—that contain the servo wedge 22 a. Because the head 32 may read the location identifier 78 even if the head is not directly over the track 14 a, the servo wedge 22 a also includes bursts 84 a-84 n, which allow the head-position circuit to finely determine and adjust the position of the head 32.

[0041]FIG. 7 is a diagram of the sinusoidal servo signal generated by the read-write head 32 (FIG. 5) while it is over the preamble 74 (FIG. 6) of the servo wedge 22 a (FIGS. 4 and 6), the sample clock (FIG. 5), and the even samples 90 a-90 d and odd samples 91 a-91 c taken by the ADC 50 (FIG. 5). Although in this embodiment the even and odd samples respectively correspond to the rising and falling edges of the sample clock, in other embodiments the even and odd samples may respectively correspond to the falling and rising edges of the sample clock.

[0042]FIG. 8 is a timing diagram of some of the signals associated with the servo circuit 30 (FIG. 5) on disk spin up according to an embodiment of the invention. For clarity, these signals are omitted from FIG. 5. A disk-drive controller (FIG. 20) transitions SEARCH and Servo Gate SG to active levels—here a logic 1—to cause the processor 40 (FIG. 5) to begin searching for a servo wedge 22 (FIG. 4) on spin up of the disk 20 (FIG. 4). The processor 40 transitions PDETECT to an active level—here a logic 1—to indicate that it has detected the preamble 74 (FIG. 6) of a servo wedge 22 as discussed below. After the processor 40 detects the preamble 74 of a servo wedge 22, it transitions ACQ_TRK to an active level—here logic 1—to cause the sample interpolater loop 54 track the phase of the samples to the phase of the servo signal as described below. When the processor 40 detects the servo sync mark (SSM 76 of FIG. 6) that follows the detected preamble 74, it transitions SRV_SMD to an active level—here logic 1—to inform the disk-drive controller that it has detected the sync mark 76. If the disk-drive controller is programmed to require the processor 40 to detect multiple consecutive sync marks 76 before determining an initial position of the head 32 (FIG. 5), then the processor 40 or the controller increments a counter SMD_CNT to keep track of the number of consecutive sync marks 76 detected during spin up.

[0043] Referring to FIGS. 4-8, the operation of the servo circuit 30 on spin-up of the disk 20 is discussed according to an embodiment of the invention. For clarity, the operation is explained for the circuit 30 detecting the servo wedge 22 a first on disk spin up, it being understood that the operation is similar if the circuit 30 detects another servo wedge 22 first.

[0044] First, the disk 20 spins up from an inactive speed, typically Ø rotations per minute (rpm), to an operating speed such as 5100 rpm. The disk 20 may be at the inactive speed during a period when the disk-drive system (FIG. 20) that incorporates the disk is powered down or is in a power-savings, i.e., sleep, mode. While or after the disk 20 spins up to the operating speed, the head-position circuit (FIG. 20) moves the read-write head 32 from a parked position to a position over the disk. But the head-position circuit does not “know” the position of the head 32 until the servo circuit 30 detects the servo wedge 22 a and recovers the location identifier 78 therefrom.

[0045] Next, at times t₀ and t₁, the disk-drive controller (FIG. 20) respectively transistions SEARCH and SG to active levels, which cause the servo circuit 30 to “look for” and detect a servo wedge 22, here the servo wedge 22 a. Specifically, the circuit 30 “looks for” and detects the preamble 74 of the servo wedge 22 a. Referring to FIG. 7 and as discussed above, the read-write head 32 generates a sinusoidal servo signal, i.e., a preamble sinusoid, while over the preamble 74. As discussed below, the circuit 30 exploits the properties of a sinusoid to detect the preamble 74. The servo circuit 30 may execute this spin-up detection algorithm before or after the disk 20 attains operating speed, or may begin executing this algorithm before the disk 20 attains the operating speed and continue executing the algorithm after the disk 20 attains operating speed.

[0046] More specifically, to detect the preamble 74 of the servo wedge 22 a, the processor 40 stores a number of consecutive samples of the preamble sinusoid, for example three even samples 90 a-90 c and three odd samples 91 a-91 c (a total of six consecutive samples). Consecutive edges of the sample clock, and thus consecutive samples 90 and 91, are approximately 90° apart with respect to the preamble sinusoid. Therefore, consecutive clock edges of the same polarity, and thus consecutive even samples 90 and consecutive odd samples 91, are approximately 180° apart. For a sinusoid, the sum of consecutive points spaced 180° apart equals zero. Therefore, to detect the preamble 74, the processor 40 sums each consecutive pair of even samples and each consecutive pair of odd samples of the preamble sinusoid according to the following equations:

E 1=90 a+ 90 b  (1)

E 2=90 b+ 90 c  (2)

O 1=91 a+ 91 b  (3)

O 2=91 b+ 91 c  (4)

[0047] If E1=E2=O1=O2=0, then the processor 40 determines that the samples 90 and 91 could represent a preamble sinusoid. But E1=E2=O1=O2=0 is also true if the servo signal is merely a zero-frequency, i.e., DC signal. Therefore, to distinguish a DC signal from a preamble sinusoid, the processor 40 averages the magnitudes of the even samples 90 a and 90 b to generate a first average even sample AE, and averages the magnitudes of the odd samples 91 a and 91 b to generate a first average odd sample AO according to the following equations:

AE=(|90 a|+| 90 b|)÷2  (5)

AO=(|91 a|+| 91 b|)÷2  (6)

[0048] Furthermore, according to a known trigonemetric identity of sinusoids, (Ysinα₁)²+(YCosα₁)²=y². Therefore, this identity holds for the preamble sinusoid. Furthermore, according to known mathematical principles that are omitted for clarity, AE=Ycosα₁ and AO=YSinα₁. Therefore, to further determine whether the head 32 is over the preamble 74, the processor 40 calculates the following equation:

AMP=sqrt(AE ² +AO ²)  (7)

[0049] Because of noise and intersymbol interference (ISI), E1, E2, O1, and O2 may not equal exactly zero when the head 32 is over the preamble 74. Furthermore, the value of AMP may vary because the gain circuit 46 has not yet had a chance to adjust the gain of the servo channel 34. Therefore, the processor 40 determines whether the following comparisons are true:

E 1<Threshold_low  (8)

E 2<Threshold_low  (9)

O 1<Threshold_low  (10)

O 2<Threshold_low  (11)

AMP>Threshold_high  (12)

[0050] where Threshold_low and Threshold_high are determined based on the expected gain of the servo channel 34 and the noise and interference present on the servo signal, and Threshold_high is also determined based on the expected amplitude Y of the preamble sinusoid.

[0051] If equations (8)-(12) are all true, then the processor 40 increments a first counter (not shown) to a nonzero value. If not all of equations (8)-(12) are true, then the processor 40 resets the counter to zero. The processor 40 continues calculating equations (1)-(12) and incrementing or resetting the counter for subsequent even and odd samples 90 and 91. A C-language software routine used to model the spin-up detection algorithm is included in Appendix A.

[0052] As long as the first counter (not shown) has a nonzero value, the processor 40 causes the circuit 36 to calculate an initial value for the phase difference α₁ between the sample clock and the servo signal, and causes the determinator 58 to determine an initial value for the amplitude Y of the servo signal.

[0053] When the first counter (not shown) reaches a predetermined nonzero value, for example eight, at time t₂, the processor 40 detects a servo preamble, here the preamble 74 of the servo wedge 22 a, transitions PDETECT to an active level, and institues a predetermined delay. During this delay, the processor causes the sample-interpolator loop 54 to begin synchronizing the samples 90 and 91 to the servo signal_the samples 90 and 91 are synchronized to the servo signal when α₁=0—using the initial value of α₁ from the circuit 36, and causes the gain circuit 46 to begin setting the overall gain of the servo channel 34 to a desired level using the initial value of Y from the circuit 38 (via the DAC 62). This mode is called the acquistion mode, and is similar to the capture mode of a conventional phase-locked loop (PLL, not shown). That is, during the acquisition mode, the sample-interpolator loop 54 is relatively “fast” so that it can drive α₁ to or nearly to 0° relatively quickly. Likewise, the gain circuit 38 is relatively fast so that it can set the gain of the servo channel 34 to the desired level relatively quickly. This predetermined delay, and thus the length of the acquisition mode, is measured with a second counter (not shown) and typically equals the latency of the sample-interpoloator loop 54, which is twenty three samples in one embodiment.

[0054] When the predetermined delay has elapsed at time t₃, the processor 40 transitions ACQ_TRK to an active level and causes the sample-interpolator loop 54 to begin tracking the servo signal. That is, the processor 40 causes the loop 54 to maintain a minimum, preferably zero, value for the phase difference α₁ between the samples and the servo signal, and to maintain the gain of the servo circuit 30 at a desired level. The tracking mode is similar to the lock mode of a conventional PLL. A difference between the acquiring and tracking modes is that in the tracking mode, the loop 54 and gain circuit 38 are slower than they are in the acquiring mode.

[0055] In one embodiment, to insure accurate tracking of the servo signal, the loop 54 must receive a predetermined number—eight in one embodiment—of consecutive preamble samples 90 and 91 after entering the tracking mode or the processor 40 aborts the current spin-up detection cycle. Specifically, after entering the tracking mode, the processor 40 executes the preamble-detect procedure described above in conjunction with equations (1)-(12). If the processor 40 does not detect the preamble 74 for at least the predetermined number of samples, it transitions ACQ_TRK to an inactive level (transition not shown in FIG. 8), resets the first and second counters (not shown) and the initial phase and amplitude values for α₁ and Y, and re-executes the above-described spin-up detection algorithm from the beginning.

[0056] Once the loop 54 is tracking the servo signal, the processor 40 examines the output of the Viterbi detector 56 to determine if and when the detector 56 recovers the servo synchronization mark (SSM) 76. Because the processor 40 may erroneously detect a burst 84 as the preamble 74, the processor 40 searches for the SSM 76 within a predetermined time window after the loop 54 begins tracking the servo signal. If the processor 40 finds the SSM 76 within this time window, then at time t₄ it transitions SRV_SMD to an active level and allows the Viterbi detector 56 to recover the location identifier 78, which the head-position circuit (FIG. 20) uses to determine an initial position of the head 32. If the processor 40 does not find the SSM 76 within this time window, then it does not transition SRV_SMD to an active level and re-executes the above-described spin-up detection algorithm from the beginning. In one embodiment, the predetermined time window has a programmable length of between 80-200 clock cycles (equivalent to 80-200 samples if there is one sample per clock cycle).

[0057] In response to the detection of the SSM 76, the disk-drive controller (FIG. 20) transitions SEARCH to an inactive level (this transition of SEARCH shown in dashed line at time t₄). After time t₄, SG and ACQ_TRK remain at active levels for a predetermined time (t₅-t₄) that is sufficient for the servo channel 34 to finish reading the servo wedge 22 a. At time t₅, SG and ACQ_TRK transition to inactive levels, and the processor 40 locks the servo channel 34 in the tracking mode or in a coasting mode where the phase of the samples and the gain of the servo channel 34 are held at their respective current values. Typically, the programming of the processor 40 determines the mode, tracking or coasting, in which it locks the servo channel 34.

[0058] Still referring to FIGS. 4-8, in one embodiment one can program the processor 40 to recover multiple SSMs 76—here three consecutive SSMs—before the disk-drive controller (FIG. 20) allows the head-position circuit (FIG. 20) to determine an initial position of the head 32. Recovering multiple SSMs 76 makes the spin-up detection algorithm more robust by increasing the probability that none of the recovered SSMs 76 were falsely recovered.

[0059] More specifically, when the processor 40 recovers the first SSM 76, it transitions SRV_SMD to an active level at time t₄ as described above, and it also increments SMD_CNT, or causes the disk-drive controller (FIG. 20) to increment SMD_CNT at time t₄. After time t₄, SEARCH remains at an active level (solid line at time t₄), and SG and ACQ_TRK remain at active levels for the predetermined time t₅-t₄. At time t₅, SG and ACQ_TRK transition to inactive levels to lock the servo channel 34 in the tracking or coasting mode.

[0060] Next, the head-position circuit (FIG. 20) determines a tentative initial position of the read-write head (FIG. 5) based on the recovery of the first SSM 76. Then, based on this tentative position, the disk-drive controller (FIG. 20) transitions SG to an active level at a time t₆ when the controller anticipates that the head is aligned with the beginning of the next servo wedge 22. The controller can determine the beginning of the next servo wedge 22 by counting the number of sample-clock cycles after it transitions SG to an inactive level at time t₅ or by other conventional techniques. The processor 40 then implements the preamble-detection algorithm to detect the preamble at time t₇, put the sample-interpolator loop 54 and gain circuit 38 in tracking mode at time t₈, and recover the second SSM 76 at time t₉ in a manner similar to that described above for the recovery of the first SSM 76.

[0061] If the processor 40 recovers the second SSM 76, it transitions SRV_SMD to an active level at time t₉, and it or the disk-drive controller (FIG. 20) increments SMD_CNT also at time t₉. SEARCH remains at an active level and SG and ACQ_TRK remain at active levels for the predetermined time (t₁₀−t₉=t₅−t₄), after which SG and ACQ_TRK transition to inactive levels at time t₁₀ to lock the servo channel 34 in the tracking or coasting mode.

[0062] Next, the head-position circuit (FIG. 20) determines a tentative initial position of the read-write head (FIG. 5) based on the recovery of the second SSM 76. Then, based on this tentative position, the disk-drive controller (FIG. 20) transitions SG to an active level at time t₁₁ when the controller anticipates that the read-write head is aligned with the beginning of the next servo wedge 22. The processor 40 then implements the preamble-detection algorithm and attempts to recover the third SSM 76 in a manner similar to that described above for the recovery of the second SSM 76.

[0063] The processor 40 repeats this procedure until it recovers the desired number—here three—of consecutive SSMs 76. If this procedure is unsuccessful, then SEARCH remains at an active level, and the processor 40 resets SMD_CNT and re-executes the spin-up detection procedure from the beginning until it recovers the desired number of consecutive SSMs 76. Furthermore, although the recovered consecutive SSMs 76 are typically within the same track 14, this is not required.

[0064]FIG. 9 is a timing diagram of the signals of FIG. 8 during post-spin-up, i.e., normal, operation of the servo circuit 30 of FIG. 5 according to an embodiment of the invention. SEARCH, PDETECT, and SMD_CNT are inactive during normal operation. A major difference between spin-up and normal operation is that the preamble detection algorithm is not used during normal operation because the disk-drive controller (FIG. 20) “knows” the position of the read-write head (FIG. 5).

[0065] Referring to FIGS. 4-7 and 9, during normal operation the disk-drive controller (FIG. 20), transitions SG to an active level at time T₁₂, which is when the controller determines that the read-write head (FIG. 5) is at the beginning of a servo wedge 22. In response to SG having an active level, the processor 40 causes the circuits 36 and 58 to calculate initial phase and gain values for α₁ and Y as described above. After a first predetermined delay, which is ______ in one embodiment, the processor 40 causes the sample-interpolator loop 54 and gain circuit 38 to enter the acquistion mode as described above. Then, after a second predetermined delay that in one embodiment equals the latency of the loop 54, the processor 40 transistions ACQ_TRK to an active level at time t₁₃ and causes the loop 54 and circuit 38 to enter the tracking mode as described above. The processor 40 recovers the SSM 76 at time t₁₄, and in response transistions SRV_SMD to an active level SG and ACQ_TRK remain active from time t₄ until time t₅, which is long enough for the servo channel 34 to read the servo data in the servo wedge 22.

[0066]FIG. 10 is a block diagram of the sample-interpolator loop 54—which is sometimes called a digital-baud-rate-timing-recovery circuit—of FIG. 5 according to an embodiment of the invention. Although details of the circuit 54 are discussed below, further details are disclosed in commonly owned U.S. patent application Ser. No. 09/387,146, filed Aug. 31, 1999, entitled “DIGITAL TIMING RECOVERY USING BAUD RATE SAMPLING”, which is incorporated by reference.

[0067] Still referring to FIG. 10, the FIR 52 (FIG. 5) provides equalized even and odd samples 90 and 91 on data paths 104 and 105, respectively. From the equalized samples, a sample interpolator 106 calculates interpolated samples at an interpolation interval provided by an accumulator 108. The sample interpolator 106 has three output paths. Two of the output paths provide the two interpolated samples S1 and S2, which are derived in parallel by the interpolator 106. The third output path provides an uninterpolated sample S3, which may be needed in an undersampling condition. The interpolator 106 provides all three samples S1, S2, and S3 to an elastic buffer 110 and to a mini-elastic buffer 112, which provides the correct stream of data to a phase detector 114 (described below). In embodiments where the loop 54 is designed to operate on EPR4 samples but the servo channel 34 (FIG. 5) is designed to generate PR4 samples, a PR4-to-EPR4 converter 116 converts the PR4 samples from the mini-elastic buffer 112 into EPR4 samples.

[0068] Note that because of the parallel sampling paths throughout the system, the sample interpolator 106 outputs two interpolated samples S1 and S2 during each cycle of normal operation. During an oversample condition, the interpolator 106 provides one valid interpolated sample and one bogus interpolated sample. In an undersample condition, the interpolator 106 outputs three samples: the interpolated sample S1, the interpolated sample S2, and the uninterpolated sample S3, which is provided by the interpolator 106 to compensate for the fact that the interpolator 106 cannot interpolate two samples in one (half-rate) cycle.

[0069] The interpolator 106 also provides the interpolated samples S1 and S2 to the phase detector 114, which determines the phase difference between the interpolated samples S1 and S2 and the expected values of the samples S1 and S2, and which generates a corresponding phase-error signal. The phase detector 114 provides this phase-error signal to a proportional-integral filter 118, which provides the filtered error signal to the accumulator 108. The accumulator 108 derives the fractional delay, also known as the interpolation value tau (τ), from the filtered error signal.

[0070] The interpolation value τ is used to select a set of coefficients employed by the sample interpolator 106 to derive the interpolation samples S1 and S2. These coefficient values are stored in a read only memory (ROM) 120, which receives the τ value from the accumulator 108 and provides to the sample interpolator 106 the appropriate coefficient values corresponding to the desired interpolation interval.

[0071] Still referring to FIG. 10, as discussed above in conjunction with FIGS. 4-8 and as discussed below in conjunction with FIG. 11, the phase calculation circuit 36 (FIG. 5) calculates a gain-independent 7-bit initial value for the phase angle α₁ (FIGS. 7, 11), which represents the phase lead of the sample clock (FIG. 5) with respect to the zero crossings and peaks of the preamble sinusoid (FIG. 7). The circuit 36 provides bits A5:A0 of α₁ to the accumulator 108 and to the ROM 120. This portion of α₁ is used to select the initial set of coefficients that is input to the sample interpolator 106 at the start of a read cycle. Furthermore, the circuit 36 provides the bit A6 of α₁ to the elastic buffer 110 and to the phase detector 114.

[0072]FIG. 11 is a phase diagram of a positive half of the preamble sinusoid of FIG. 7, and illustrates how the phase calculation circuit 36 (FIG. 5) can use a tangent function to obtain a gain-independent initial value for the phase angle α₁ between the preamble sinusoid and the sample clock. Specifically, the first sample 130, which in one embodiment corresponds to a rising edge of the sample clock, leads the sinusoid peak 132 by the phase angle α₁, which is <45° here. From well-known trigonometric identities, α₁ is calculated according to the following equations:

Tan α₁=Sin α₁/Cos α₁=(second sample 134)÷(first sample 130),  (13)

α₁=Arctan α₁=Arctan [(second sample 134)÷(first sample 130)].  (14)

[0073] Further details of the circuit 36, techniques for calculating an initial value for α₁>45°, and other techniques for calculating a gain-independent value for the initial phase angle α₁ between the preamble sinusoid and the sample clock are discussed in commonly owned U.S. patent application Ser. No. 09/503,453, filed Feb. 14, 2000, entitled “CIRCUIT AND METHOD FOR DETERMINING THE PHASE DIFFERENCE BETWEEN A SAMPLE CLOCK AND A SAMPLED SIGNAL”, and U.S. patent application Ser. No. 09/503,929, filed Feb. 14, 2000, entitled “CIRCUIT AND METHOD FOR DETERMINING THE PHASE DIFFERENCE BETWEEN A SAMPLE CLOCK AND A SAMPLED SIGNAL BY LINEAR APPROXIMATION”, which are incorporated by reference.

[0074]FIG. 12 is a phase diagram of a positive half period of the preamble sinusoid of FIG. 7, and illustrates how the initial-gain determinator 58 (FIG. 5) calculates a gain-independent initial value for the peak amplitude Y of the preamble sinusoid. Specifically, samples 140 and 142 are 90° apart with respect to the preamble sinusoid. Therefore, the determinator 58 calculates the amplitude Y according to the following equations, which follow from the trigonemetric identity Sin²α₂+Cos²α₂=1:

(Y Sin α₂)²+(Y Cos α₂)² =Y ² Sin² α₂ +Y ² Cos² α₂ =Y ²(Sin² α₂+Cos² α₂)=Y ²  (15)

Sample 140=Y Sin α₂  (16)

Sample 142=Y Cos α₂  (17)

Y ²=(sample 140)²+(sample 142)²  (18)

[0075] From the initial value for the amplitude Y, the determinator 58 generates an initial gain adjustment so as to change the gain of the gain circuit 46 (FIG. 5) such that the peak magnitude of the samples 140 and 142 at the input to the Viterbi detector 56 (FIG. 5) will thereafter be nearer or equal to the desired peak magnitude. Further details of the determinator 58 are discussed in commonly owned U.S. patent app. Ser. No. 09/503,949, filed Feb. 14, 2000, entitled “A CIRCUIT AND METHOD FOR CONTROLLING THE GAIN OF AN AMPLIFIER BASED ON THE SUM OF SAMPLES OF THE AMPLIFIED SIGNAL”, and U.S. patent app. Ser. No. 09/503,399, filed Feb. 14, 2000, entitled “A CIRCUIT AND METHOD FOR CONTROLLING THE GAIN OF AN AMPLIFIER”, which are incorporated by reference.

[0076]FIG. 13 is a pruned trellis diagram that illustrates the operation of the Viterbi detector 56 (FIG. 5) according to an embodiment of the invention. The Viterbi detector 56 is constructed for a PR4 target polynomial B_(k)=A_(k)−A_(k−2), where B_(k) is the interpolated sample of the servo signal at sample time k, A_(k) is the logic value (0 or 1) of the sampled bit of the servo data at sample time k, and A_(k−2) is the logic value of the sampled bit of the servo data at sample time k−2. Therefore, the trellis has four states that represent four possible states of the coded sequence: S0 (00 or −−), S1 (01 or −+), S2 (10 or +−), and S3 (11 or ++). Furthermore, in one embodiment the servo data is coded—Gray coded in one embodiment—as a 4:12 run-length-limited (RLL) code having d=2, k=10, and having single pairs and only single pairs of logic 1's. Because the servo data is so constrained, the Viterbi detector 56 can be “pruned” such that the number of branches between the states S0-S3 at consecutive sample times k is reduced from eight branches (two incoming branches per state S0-S3) to five branches. Thus, only the state S0 has more than one—here two—incoming branches. The combination of the servo data being constrained according to the above-described code and the Viterbi detector 56 being pruned to match the code increases the minimum squared distance error by a factor of two compared to a combination of uncoded servo data and a full-state (eight branches) Viterbi detector. This increase in the minimum squared distance reduces by 6 dB the minimum servo-signal SNR required by the detector 54, and thus makes recovery of the servo data more reliable for a given servo-signal SNR. The two solid-line paths depict two possible sequences that constitute the minimum-distance closed-error event. The Viterbi detector 56 and the servo-data coding scheme are further discussed in commonly owned U.S. patent application Ser. No. 09/783,801, filed Feb. 14, 2001, entitled “VITERBI DETECTOR AND METHOD FOR RECOVERING A BINARY SEQUENCE FROM A READ SIGNAL”, which is incorporated by reference. Viterbi detectors and trellis diagrams are further discussed in commonly owned U.S. patent application Ser. Nos. 09/409,923, filed Sep. 30, 1999, entitled “PARITY-SENSITIVE VITERBI DETECTOR AND METHOD FOR RECOVERING INFORMATION FROM A READ SIGNAL”, and 09/410,274, filed Sep. 30, 1999, entitled “CIRCUIT AND METHOD FOR RECOVERING SYNCHRONIZATION INFORMATION FROM A SIGNAL”, which are incorporated by reference.

[0077]FIG. 14 shows the preamble 74 and SSM 76 of FIG. 6 according to an embodiment of the invention. In this embodiment, the bit sequences that compose the preamble 74 and SSM 76 are coded according to the coding scheme described above in conjunction with FIG. 13.

[0078]FIG. 15 is a plan view of a magnetic data-storage disk 150, which is similar to the disk 20 (FIG. 4) except that it includes spin-up wedges 152 according to an embodiment of the invention. Although including the the spin-up wedges 152 may cause the disk 150 to have a smaller data-storage capacity than the disk 20, it allows one to increase the robustness of the spin-up detection algorithm as discussed below. Furthermore, because the servo data on the disk 150 has a higher density than the servo data on the conventional disk 10 (FIG. 1), the disk 150 can have a larger data-storage capacity than the disk 10 even though both the disks 10 and 150 include spin-up wedges.

[0079] Like the disk 20, the disk 150 is partitioned into a number—here eight—of disk sectors 12 a-12 h and includes a number of concentric data tracks 14 a-14 n. The disk 150 also includes servo wedges 154, which incorporate the spin-up wedges 152. But other than incorporating the spin-up wedges 152, the servo wedges 154 are similar to the servo wedges 22 of the disk 20.

[0080]FIG. 16 is a diagram of the servo wedge 154 a of FIG. 15 according to an embodiment of the invention. The servo wedge 154 a includes the spin-up wedge 152 a and is otherwise similar to the servo wedge 22 a of FIG. 6, and the other servo wedges 154 are similar to the wedge 154 a. Although the spin-up wedge 152 a is shown between the servo address mark (SAM) 72 and the preamble 74, the wedge 152 a may occupy another position within the wedge 154 a, or may be located in front of or in another location outside of the wedge 154 a.

[0081]FIG. 17 is a diagram of the servo signal when the read-write head 32 (FIG. 5) reads the spin-up wedge 152 a and the preamble 74 of FIG. 16 according to an embodiment of the invention. The wedge 152 a includes an introductory portion 156, which is a two-cycle sinusoid here, and a zero-frequency, i.e., DC-erase, field 158. As discussed below, the processor 40 (FIG. 5) detects the spin-up wedge 152 a by detecting the DC-erase field 158 and then detecting the beginning of the preamble 74 within a qualifying window 160. Ideally, the window 160 is centered about the end of the DC-erase field 158, which is also the beginning of the preamble 74. Furthermore, the lengths of the sinusoid 156, DC-erase field 158, and qualifying window 160 may be different from the illustrated lengths of eight, twenty two, and eight samples/bits (here one sample per bit), respectively. For example, in one embodiment the processor 40 allows one to program the DC-erase field 158 to a length of twenty, twenty eight, thirty six, or forty four samples/bits and the qualifying window to a length of four or eight samples/bits.

[0082]FIG. 18 is a timing diagram of some of the signals associated with the servo circuit 30 of FIG. 5 on spin up of the disk 150 according to an embodiment of the invention where, as discussed above, the circuit 30 detects both a spin-up wedge 152 and the following preamble 74 on disk spin up. For clarity, these signals are omitted from FIG. 5. Furthermore, although active levels for all these signals are described as being logic 1, some or all of these signals may have active levels of logic 0 in other embodiments.

[0083] Still referring to FIG. 18, the disk-drive controller (FIG. 20) transitions SEARCH, SG, and DC-ERASE ENABLE to active levels to cause the processor 40 (FIG. 5) to begin searching for a servo wedge 154 on spin up of the disk 150 (FIG. 15). The active DC-ERASE ENABLE causes the processor 40 to detect the servo wedge 154 by first detecting a spin-up wedge 152 and then the following preamble 74. The processor 40 transitions DC-ERASE DETECT to an active level for as long as it detects the DC-erase field 158 (FIG. 17). The processor 40 transitions DC-ERASE QUALIFYING WINDOW to an active level for the length of the qualifying window 160 (FIG. 17). Then, the processor 40 executes the preamble-detection algorithm as discussed above in conjunction with FIGS. 4-8. If the processor 40 detects the preamble 74 within the window 160, i.e., while DC-ERASE QUALIFYING WINDOW is active, then it transitions PREAMBLE-DETECT ENABLE to an active level. In response to the active PREAMBLE-DETECT ENABLE, the processor 40 attempts to detect the preamble 74 and to recover one or more sync marks 76 (FIG. 16) in the manner discussed above in conjunction with FIGS. 4-8.

[0084] Referring to FIGS. 5 and 15-18, the operation of the servo circuit 30 is discussed for detecting a servo wedge 154 on spin up of the disk 150. This procedure is similar to the spin-up-detection procedure described above in conjunction with FIGS. 4-8 except that here, the circuit 30 detects a spin-up wedge 152 associated with the servo wedge 154 before it detects the preamble 74 of the wedge 154. Because it detects both the spin-up wedge and the preamble instead of detecting only the preamble, this spin-up detection algorithm is typically more robust than the spin-up detection algorithm described above in conjunction with FIGS. 4-8. For clarity, this procedure is discussed for detecting the spin-up wedge 152 a and preamble 74 of the servo wedge 154 a, the procedure being the same for the other servo wedges 154. Furthermore, in this example the DC-erase field is twenty-two samples/bits long, the qualifying window 160 is eight samples/bits long, and the servo circuit 30 takes one sample per bit of servo data.

[0085] First, the disk 150 spins up from an inactive speed, typically 0 rotations per minute (rpm), to an operating speed such as 5100 rpm. The disk 150 may be at the inactive speed during a period when the disk-drive system (FIG. 20) that incorporates the disk is powered down or is in a power-savings, i.e., sleep, mode. During or after the spin up of the disk 150, the head-position circuit (FIG. 20) moves the read-write head 32 (FIG. 5) from a parked position to a position over the disk. But the head-position circuit does not “know” the position of the head 32 until the servo circuit 30 detects the servo wedge 154 a and recovers the location identifier 78 therefrom.

[0086] Next, at times t₀ and t₁, respectively, the disk-drive controller (FIG. 20) transistions SEARCH, DC-ERASE ENABLE, and SG to active levels, which cause the servo circuit 30 to “look for” and detect a servo wedge 154, here the servo wedge 154 a. Specifically, the circuit 30 “looks for” and detects the DC-erase field 158 of the servo wedge 154 a, and then looks for and detects the preamble 74 of the servo wedge 154 a.

[0087] To detect the DC-erase field 158, the processor 40 compares the samples from the ADC 50 to a predetermined threshold. Alternately, a conventional slicer (not shown) may compare the samples to the threshold under the control of the processor 40. If a sample is above the threshold, the processor 40 determines that the sample has a non-zero, i.e., non-DC, value, and resets a DC-erase counter (not shown) and DC-ERASE DETECT. Conversely, if the sample is below the threshold, the processor 40 determines that the sample has a zero, i.e., DC, value, and increments the counter. When the counter reaches a predetermined value, for example two, the processor 40 transitions DC-ERASE DETECT to an active level at time t₂. The introductory sinusoid 156 insures that the processor 40 will reset the counter before the read-write head 32 begins reading the field 158, and the length of the field 158 is typically longer than the expected lengths of other strings of DC samples on the disk 150 so that the processor 40 does not mistake one of these strings for the field 158.

[0088] Once the DC-erase counter (not shown) reaches a value that indicates the beginning of the qualifying window 160, the processor 40 transitions DC-ERASE QUALIFYING WINDOW to an active level at time t₃ and begins searching for the preamble 74. The window 160 allows for noise or interference that may cause uncertainty in detecting the beginning of, and thus predicting the end of, the field 158.

[0089] More specifically, the processor 40 centers the window 160 about the expected end of the DC-erase field 158. Therefore, when the counter stores a nine—this is equivalent to eighteen samples because there are two samples per count cycle—the processor 40 transitions DC-ERASE QUALIFYING WINDOW at time t₃ to begin the window 160 four samples before the expected end of the twenty-two-sample field 158. That is, the window 160 begins after the processor 40 detects eighteen consecutive DC samples. At time t₄, the window 160—here eight samples/bits long—ends, and thus the processor 40 transitions DC-ERASE QUALIFYING WINDOW to an inactive level.

[0090] During the qualifying window 160 while DC-ERASE QUALIFYING WINDOW is active, the processor 40 searches for the beginning of the preamble 74 using the same preamble-detection algorithm as discussed above in conjunction with FIGS. 4-8. For example, when executing the software routine in Appendix A, the processor 40 must process three consecutive samples of the preamble 74 before it can detect the preamble. Therefore, the processor 40 can detect the preamble 74 only if at least three samples of the preamble are within the window 160. Consequently, because four preamble samples are within the window 160 in FIG. 17, the processor 40 would detect the preamble 74 within the window 160 in this example.

[0091] If the processor 40 finds the beginning of the preamble 74 within the window 160, then it transitions PREAMBLE-DETECT ENABLE to an active level at time t₄ to indicate detection of the DC-erase field 158, and thus detection of the spin-up wedge 152 a. In response to active PREAMBLE-DETECT ENABLE, the processor 40 implements the preamble-detection and sync-mark-recovery algorithm discussed above in conjunction with FIGS. 4-8. After it has detected the preamble 74, the processor 40 transitions PREAMBLE-DETECT ENABLE to an inactive level at time t₅.

[0092] If the processor 40 does not detect the (i.e., after it transitions PDETECT to an active level) beginning of the preamble 74 within the window 160, then it resets the DC-erase counter (not shown) and continues searching for the DC-erase field 158 as discussed above.

[0093] Still referring to FIGS. 5 and 15-18, as discussed above, one can program the processor 40 to recover a single or multiple SSMs 76 before the disk-drive controller (FIG. 20) allows the head-position circuit (FIG. 20) to determine an initial position of the head 32 (FIG. 5). In the latter case, the processor 40 repeats the above-described algorithm for detecting the DC-erase field 158 before it detects each preamble 74 according to the algorithm discussed above in conjunction with FIGS. 4-8.

[0094]FIG. 19 is block diagram of the servo circuit 30 according to an embodiment of the invention, and includes circuitry not shown in FIG. 5. As discussed above, because the servo circuit 30 recovers servo data in a synchronous manner, it allows the density of the servo data on the disks 20 (FIG. 4) and 150 (FIG. 15) to be higher than other servo circuits, such as peak-detecting servo circuits, allow. For clarity, the preamp 42, LPF 44, gain circuit 46, and filter 48 are included in gain and filter circuit 170, and the phase and gain circuits 36 and 38 and interpolator loop 54 are included in the timing and gain recovery loops 172.

[0095] Still referring to FIG. 19, in addition to the circuit blocks of FIG. 5, the servo circuit 30 includes a sync-mark detector 174, which is separate from the Viterbi detector 56, and a decoder 176 for decoding the data recovered by the detectors 56 and 174. The circuit 30 also includes a position-burst demodulator 178, which demodulates the head-position bursts 84 (FIGS. 6 and 16), and an interface 180, which couples servo data and signals from the processor 40, decoder 176, and demodulator 178 to the disk-drive controller (FIG. 20). The sync-mark detector 174 and burst demodulator 178 are respectively discussed further in commonly owned U.S. patent application Ser. Nos. ______ (Atty. Docket No. 01-S-046 (1678-48)) entitled “CIRCUIT AND METHOD FOR DETECTING THE PHASE OF A SERVO SIGNAL” and ______ (Atty. Docket No. 01-S-045 (1678-47)) entitled “CIRCUIT AND METHOD FOR DEMODULATING A SERVO POSITION BURST”, both filed the same day as the present application, which are incorporated by reference. The decoder 176 may be constructed to decode servo data that is encoded according to the scheme discussed in commonly owned U.S. patent application Ser. Nos. 09/783,801, filed Feb. 14, 2001, entitled “VITERBI DETECTOR AND METHOD FOR RECOVERING A BINARY SEQUENCE FROM A READ SIGNAL”, or ______ (Atty. Docket No. 01-S-023 (1678-39)), entitled “A DATA CODE AND METHOD FOR CODING DATA”, which are incorporated by reference.

[0096] In one embodiment the ADC 50, the FIR 52, and the timing and gain recovery loops 172 are shared with the circuitry (not shown) used to read and write application data to the disk 20 (FIG. 4) or disk 150 (FIG. 15). In another embodiment, the sync mark detector 174 is omitted, and the Viterbi detector 56 detects the SSM 76 (FIGS. 6 and 16).

[0097] The servo circuit 30 operates as discussed above in conjunction with FIGS. 4-9 and 15-18.

[0098]FIG. 20 is a block diagram of a disk-drive system 200 according to an embodiment of the invention. The disk-drive system 200 includes a disk drive 202, which incorporates the servo circuit 30 of FIGS. 5 and 19. The disk drive 202 includes the read-write head 32, a write channel 206 for generating and driving the head 32 with a write signal, and a write controller 208 for interfacing the write data to the write channel 206. The disk drive 202 also includes a read channel 210 for receiving servo and application-data read signals from the head 32 and for recovering data from these read signals, and includes a read controller 212 for organizing the read data. Together, the write and read controllers 208 and 212 compose a disk-drive controller 213. The read channel 210 includes the servo circuit 30, which receives the servo signal from the head 32, detects a servo wedge—or alternatively, both a spin-up wedge and a servo wedge—on disk spin up, recovers the servo data from the servo signal, and provides the recovered servo data to a head-position circuit 214. The disk drive 202 further includes a storage medium such as one or more disks 215, each of which may contain data on one or both sides and which may be magnetic, optical, or another type of storage disk. For example, the disks 215 may be similar to the disk 20 of FIG. 4 or the disk 150 of FIG. 15. The head 32 writes/reads the data stored on the disks 215, and is connected to a movable support arm 216. The head-position circuit 214 determines the position of the head 32 as discussed above and in U.S. patent application Ser. Nos. 09/783,801, filed Feb. 14, 2001, entitled “VITERBI DETECTOR AND METHOD FOR RECOVERING A BINARY SEQUENCE FROM A READ SIGNAL”, and ______ (Atty. Docket No. 01-S-045 (1678-47)), entitled “CIRCUIT AND METHOD FOR DEMODULATING A SERVO POSITION BURST” filed the same day as the present application, which are incorporated by reference. The head-position circuit 214 provides a control signal to a voice-coil motor (VCM) 218, which positionally maintains/radially moves the arm 216 so as to positionally maintain/radially move the head 32 over the desired data tracks on the disks 215. A spindle motor (SPM) 220 and a SPM control circuit 222 respectively rotate the disks 215 and maintain them at the proper rotational speed.

[0099] The disk-drive system 200 also includes write and read interface adapters 224 and 226 for respectively interfacing the disk-drive controller 213 to a system bus 228, which is specific to the system used. Typical system busses include ISA, PCI, S-Bus, Nu-Bus, etc. The system 200 typically has other devices, such as a random access memory (RAM) 230 and a central processing unit (CPU) 232 coupled to the bus 228.

[0100] From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. 

What is claimed is:
 1. A servo circuit, comprising: a servo channel operable to recover servo data from servo wedges that identify respective data sectors on a data-storage disk; and a processor coupled to the servo channel and operable to detect a first spin-up wedge associated with a first one of the servo wedges and then to detect the first servo wedge while the disk is attaining or after the disk attains an operating speed and before the servo channel recovers servo data from any other servo wedge.
 2. The servo circuit of claim 1 wherein the processor is operable to cause the servo channel to recover servo data from the first servo wedge after the processor detects the first servo wedge and before the servo channel recovers servo data from any other servo wedge.
 3. The servo circuit of claim 1 wherein: the first spin-up wedge comprises a zero-frequency field; and the processor is operable to detect the first spin-up wedge by detecting the zero-frequency field.
 4. The servo circuit of claim 1 wherein: the first servo wedge comprises a preamble; and the processor is operable to dectect the first servo wedge by detecting the preamble.
 5. The servo circuit of claim 1 wherein: the first spin-up wedge comprises a zero-frequency field; the first servo wedge comprises a preamble that follows and that is contiguous with the zero-frequency field; and the processor is operable to dectect the first spin-up wedge by detecting the zero-frequency field and is operable to detect the first servo wedge by detecting the preamble after detecting the zero-frequency field.
 6. The servo circuit of claim 1 wherein: the first servo wedge comprises a preamble and a servo synchronization mark following the preamble; the processor is operable to dectect the first servo wedge by detecting the preamble; and the servo channel is operable to recover the synchronization mark in response to the processor detecting the preamble.
 7. The servo circuit of claim 1, wherein: the first servo wedge and a second servo wedge following the first servo wedge each comprise a preamble and a servo synchronization mark following the preamble; the processor is operable to dectect the first servo wedge by detecting the preamble of the first servo wedge; the servo channel is operable to recover the synchronization mark of the first servo wedge in response to the processor detecting the preamble of the first servo wedge; after detecting the first servo wedge, the processor is operable to detect the second servo wedge by detecting the preamble of the second servo wedge; and the servo channel is operable to recover the synchronization mark of the second servo wedge in response to the processor detecting the preamble of the second servo wedge.
 8. The servo circuit of claim 1, wherein: the first spin-up wedge and a second spin-up wedge following the first spin-up wedge each comprise a zero-frequency field; the first servo wedge and a second servo wedge following the one servo wedge each comprise a preamble and a servo synchronization mark following the preamble; the processor is operable to detect the first spin-up wedge by detecting the zero-frequency field of the first spin-up wedge; the processor is operable to dectect the first servo wedge by detecting the preamble of the first servo wedge after detecting the first spin-up wedge; the servo channel is operable to recover the synchronization mark of the first servo wedge in response to the processor detecting the preamble of the first servo wedge; after recovering the synchronization mark of the first servo wedge, the processor is operable to detect the second spin-up wedge by detecting the zero-frequency field of the second spin-up wedge; the processor is operable to detect the second servo wedge by detecting the preamble of the second servo wedge after detecting the second spin-up wedge; and the servo channel is operable to recover the synchronization mark of the second servo wedge in response to the processor detecting the preamble of the second servo wedge.
 9. The servo circuit of claim 1, wherein: the first spin-up wedge comprises a zero-frequency field; the servo channel is operable to generate a zero-frequency or approximately zero-frequency read signal that represents the zero-frequency field and to sample the read signal; and the processor is operable to, compare samples of the read signal to a threshold, and detect the first spin-up wedge if a predetermined number of consecutive samples each have a predetermined relationship to the threshold.
 10. The servo circuit of claim 1, wherein: the first spin-up wedge comprises a zero-frequency field; the servo channel is operable to generate a zero-frequency or approximately zero-frequency read signal that represents the zero-frequency field and to sample the read signal; and the processor is operable to, compare samples of the read signal to a threshold, and search for the first spin-up wedge until a predetermined number of consecutive samples each have a predetermined relationship to the threshold.
 11. The servo circuit of claim 1 wherein the first spin-up wedge is disposed within the first servo wedge.
 12. The servo circuit of claim 1 wherein: the first spin-up wedge comprises a zero-frequency field; the first servo wedge comprises a preamble; the servo channel is operable to generate a zero-frequency or approximately zero-frequency read signal that represents the zero-frequency field and to sample the read signal; and the processor is operable to, compare samples of the read signal to a threshold, and detect the first spin-up wedge if the processor detects the preamble of the first servo wedge within a predetermined range of consecutive samples that have a predetermined relationship to the threshold.
 13. The servo circuit of claim 1 wherein: the first spin-up wedge comprises a zero-frequency field; the first servo wedge comprises a preamble; the servo channel is operable to generate a zero-frequency or approximately zero-frequency read signal that represents the zero-frequency field and to sample the read signal; and the processor is operable to, compare samples of the read signal to a threshold, and detect the first spin-up wedge if the processor detects the preamble of the first servo wedge within a predetermined range of consecutive samples that are less than the threshold.
 14. The servo circuit of claim 1 wherein: the first spin-up wedge comprises a zero-frequency field; the first servo wedge comprises a preamble; the servo channel is operable to generate a zero-frequency or approximately zero-frequency read signal that represents the zero-frequency field and to sample the read signal; and the processor is operable to, compare samples of the read signal to a threshold, and detect the first spin-up wedge if the processor detects the preamble of the first servo wedge within a predetermined window of consecutive samples that are less than or equal to the threshold.
 15. The servo circuit of claim 1 wherein: the first spin-up wedge comprises a zero-frequency field; the first servo wedge comprises a preamble; the servo channel is operable to generate a zero-frequency or approximately zero-frequency read signal that represents the zero-frequency field and to sample the read signal; and the processor is operable to, compare samples of the read signal to a threshold, search for the preamble of the first servo wedge in response to a first predetermined number of consecutive samples that each have a predetermined relationship to the threshold, and detect the first spin-up wedge if the processor detects the preamble within a second predetermined number of consecutive samples that follow the first predetermined number of consecutive samples.
 16. The servo circuit of claim 1 wherein: the first spin-up wedge comprises a zero-frequency field; the first servo wedge comprises a preamble; the servo channel is operable to generate a zero-frequency or approximately zero-frequency read signal that represents the zero-frequency field and to sample the read signal; and the processor is operable to, compare samples of the read signal to a threshold, search for the preamble of the first servo wedge in response to a first predetermined number of consecutive samples that have a predetermined relationship to the threshold, and detect the first spin-up wedge if the processor detects the preamble within a second predetermined number of consecutive samples that immediately follow the first predetermined number of consecutive samples.
 17. The servo circuit of claim 1 wherein: the first spin-up wedge comprises a zero-frequency field; the first servo wedge comprises a preamble; the servo channel is operable to generate a zero-frequency or approximately zero-frequency read signal that represents the zero-frequency field and to sample the read signal; and the processor is operable to, compare samples of the read signal to a threshold, search for the preamble of the first servo wedge in response to a first predetermined number of consecutive samples that have a predetermined relationship to the threshold, and abort the search for the preamble of the first servo wedge if the processor does not detect the preamble within a second predetermined number of consecutive samples that immediately follow the first predetermined number of consecutive samples.
 18. The servo circuit of claim 1 wherein: the first servo wedge comprises a preamble; the servo channel is operable to generate a read signal that represents the preamble and to sample the read signal; the processor is operable to detect the first servo wedge by detecting the preamble from the samples; the servo channel comprises an interpolator loop that acquires the timing of the samples with respect to the read signal while the processor is detecting the preamble and that begins tracking the timing of the samples a predetermined time after the processor detects the preamble; and the processor is operable to stop the interpolator loop from tracking the timing of the samples if the processor fails to detect the preamble for at least a predetermined number of samples after the interpolator loop begins tracking the timing of the samples.
 19. The servo circuit of claim 1 wherein the one servo wedge comprises a binary sequence having groups of no more and no fewer than a predetermined number of consecutive bits each having a first logic level, the groups separated from each other by respective bits having a second logic level.
 20. A servo circuit, comprising: a servo channel operable to recover servo data from servo wedges that identify respective data sectors on a data-storage disk; and a processor coupled to the servo channel and operable to detect first and second portions of one of the servo wedges while the disk is attaining or after the disk attains an operating speed and before the servo channel recovers servo data from any other servo wedge.
 21. The servo circuit of claim 20 wherein: the first portion of the one servo wedge comprises a spin-up wedge; and the second portion of the servo wedge comprises a preamble.
 22. The servo circuit of claim 20 wherein the processor is operable to detect the first portion of the one servo wedge before detecting the second portion.
 23. A disk-drive system, comprising: a data-storage disk having a surface, data sectors at respective locations of the surface, servo wedges that each include respective servo data that identifies the location of a respective data sector, and spin-up wedges that each include spin-up data and that are respectively associated with some or all of the servo wedges; a motor coupled to and operable to rotate the disk; a read head operable to generate a read signal that represents the servo data and and the spin-up data, the read head having a position with respect to the surface of the data-storage disk; a read-head positioning circuit operable to move the read head over the surface of the disk; and a servo circuit coupled to the read head and to the read-head positioning system, the servo circuit including, a servo channel operable to recover the servo data from the servo wedges and the spin-up data from the spin-up wedges; and a processor coupled to the servo channel and operable to detect a spin-up wedge associated with one of the servo wedges and then to detect the servo wedge while the disk is attaining or after the disk attains an operating speed and before the servo channel recovers servo data from any other servo wedge.
 24. The disk-drive system of claim 23 wherein: the servo channel is operable to recover the servo data from the detected servo wedge; and the servo circuit is operable to, determine an initial position of the read head from the recovered servo data, and provide the initial position to the read-head positioning circuit.
 25. The disk-drive system of claim 23 wherein the servo channel is operable to recover the servo data from the detected servo wedge and to provide the location of the respective data sector to the read-head positioning circuit.
 26. The disk-drive system of claim 23 wherein: the servo channel is operable to recover the servo data from the detected servo wedge and to provide the location of the respective data sector to the read-head positioning circuit; and the read-head positioning circuit is operable to determine an initial position of the read head from the location of the respective data sector.
 27. The disk-drive system of claim 23 wherein the read-head position circuit and the servo circuit are unable to determine the position of the read head before the processor detects the one servo wedge.
 28. The disk-drive system of claim 23 wherein the read head comprises a read-write head.
 29. A disk-drive system, comprising: a data-storage disk having a surface, a data sector at a location of the surface, and a servo wedge including servo data that identifies the location of the data sector; a motor coupled to and operable to rotate the disk; a read head operable to generate a read signal that represents the servo data and having a position with respect to the surface of the data-storage disk; a read-head positioning system operable to move the read head over the surface of the disk; and a servo circuit coupled to the read head and to the read-head positioning system, the servo circuit including, a servo channel operable to recover the servo data from the servo wedges; and a processor coupled to the servo channel and operable to detect first and second portions of one of the servo wedges while the disk is attaining or after the disk attains an operating speed and before the servo channel recovers servo data from any other servo wedge.
 30. A method, comprising: rotating a data-storage disk having a surface from a first rotational speed to a second rotational speed over a first time period, the cirumferential position of a read head relative to a location of the disk surface being unknown for at least a portion of the first time period; during or after the first time period and while the circumferential position of the read head is unknown, detecting spin-up data, and after detecting the spin-up data, detecting servo data that identifies a sector of the data-storage disk; and determining the circumferential position of the read head from the detected servo data.
 31. The method of claim 30 wherein the second rotational speed is higher than the first rotational speed.
 32. The method of claim 30 wherein detecting the spin-up data comprises: sampling data from the disk surface; counting the number of consecutive samples that have a predetermined relationship to a threshold; and detecting the spin-up data if the number of consecutive samples equals a predetermined number.
 33. The method of claim 30 wherein: detecting the spin-up data comprises, sampling data from the disk surface, and counting the number of consecutive samples that have a predetermined relationship to a threshold; and detecting the servo data comprises, searching for the servo data if the number of consecutive samples equals a predetermined number; and detecting the servo data if a portion of the servo data is within a predetermined sampling window following the predetermined number of consecutive samples.
 34. The method of claim 30 wherein: detecting the spin-up data comprises, sampling data from the disk surface, and counting the number of consecutive samples that have a predetermined relationship to a threshold; and detecting the servo data comprises, searching for the servo data if the number of consecutive samples equals a predetermined number; and detecting the servo data if a portion of a servo-data preamble is within a predetermined sampling window following the predetermined number of consecutive samples.
 35. The method of claim 30 wherein detecting the spin-up data and servo data comprises accurately detecting a predetermined number of spin-up wedges and servo wedges before determining the circumferential position of the read head. 